---
title: <youtube-video>
description: Play videos that are hosted on YouTube
layout: ../../../../layouts/MediaElementLayout.astro

dependencies: { 'youtube-video-element': 'latest' }
package: youtube-video-element
version: 1.1.5
tagName: youtube-video
github: https://github.com/muxinc/media-elements/tree/main/packages/youtube-video-element
src: src="https://www.youtube.com/watch?v=tO01J-M3g0U"
---

A custom element for the YouTube player with an API that matches the `<video>` API.
